<style>
    #allotmentCapital-detail {
        padding: 20px 25px 25px 0;
    }

    #allotmentCapital-detail span {
        margin: 0 0 2px 3px !important;
    }

    .layui-layer-page .layui-layer-content {
        overflow: visible !important;
    }
</style>
<div class="layui-fluid" id="allotmentCapital-detail">
    <form class="layui-form" lay-filter="allotmentCapital-detail-form">
        <div class="layui-form-item">
            <div class="layui-col-md12">
                <label class="layui-form-label website-form-item-require">课题名称：</label>
                <div class="layui-input-block">
                    <input type="text" name="declareName" readonly class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-md12">
                <label class="layui-form-label website-form-item-require">选题名称：</label>
                <div class="layui-input-block">
                    <input type="text" name="topicName" readonly class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-md6">
                <label class="layui-form-label website-form-item-require">课题类型：</label>
                <div class="layui-input-block">
                    <input type="text" name="declareTypeName" readonly class="layui-input">
                </div>
            </div>
            <div class="layui-col-md6 ">
                <label class="layui-form-label website-form-item-require">主持人：</label>
                <div class="layui-input-block">
                    <input type="text" name="hostPeople" readonly class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-md6">
                    <label class="layui-form-label website-form-item-require">拨付时间：</label>
                    <div class="layui-input-block">
                        <input type="text" name="allotmentTime" readonly class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md6">
                    <label class="layui-form-label website-form-item-require">拨付金额(万元)：</label>
                    <div class="layui-input-block">
                        <input type="text" name="allotmentMoney" readonly class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-md6">
                    <label class="layui-form-label website-form-item-require">本次累计拨付金额(万元)：</label>
                    <div class="layui-input-block">
                        <input type="text" name="cumulativeMoney" readonly class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md6">
                    <label class="layui-form-label website-form-item-require">总金额(万元)：</label>
                    <div class="layui-input-block">
                        <input type="text" name="totalMoney" readonly class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <label class="layui-form-label website-form-item-require">拨付金额单位：</label>
                    <div class="layui-input-block">
                        <input type="text" name="allocationUnitName" readonly class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<script data-th-inline="javascript">
    layui.use(['form', 'formSelects','dict'], function () {
        var $ = layui.$,
            formSelects = layui.formSelects,
            form = layui.form,
            allotmentCapital = [[${allotmentCapital}]];
        form.render();
        initAllotmentCapitalValue();
        formSelects.render();
        function initAllotmentCapitalValue() {

            form.val("allotmentCapital-detail-form", {
                "declareName": allotmentCapital.declareName,
                "declareTypeName": allotmentCapital.declareTypeName,
                "topicName": allotmentCapital.topicName,
                "hostPeople": allotmentCapital.hostPeople,
                "allotmentTime": allotmentCapital.allotmentTime,
                "allotmentMoney": allotmentCapital.allotmentMoney,
                "cumulativeMoney": allotmentCapital.cumulativeMoney,
                "totalMoney": allotmentCapital.totalMoney,
                "allocationUnitName": allotmentCapital.allocationUnitName
            });
        }
    });
</script>